<?php use_helper('Javascript','Asset')?>
  <div id="sole_notification" class="<?php echo $type?>"> <?php echo $message?></div>
  <?php if($type == "notice"):?>
    <?php echo javascript_tag("jQuery('#faved').html(".image_tag("48-lightbulb.png")." );alert('asdasdasd');")?>
  <?php endif?>
  <?php echo javascript_tag("jQuery('#sole_notification').notification( {'duration': 10, 'show-method': 'slideDown', 'hide-method': 'slideUp'} )")?>
